package com.ds.infra.rpc.autoconfigure.condition;

import org.springframework.context.annotation.Conditional;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 作用：RPC服务提供者条件注解
 *
 * @author WeiShaoying
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Conditional(OnRpcProviderCondition.class)
public @interface OnRpcProvider {
}
